package cn.itrip.service.Impl;

import cn.itrip.dao.ItripImageMapper;
import cn.itrip.entity.ItripImage;
import cn.itrip.service.ItripImageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItripImageServiceImpl extends ServiceImpl<ItripImageMapper,ItripImage> implements ItripImageService {
    @Override
    public List<ItripImage> getListByRoomId(String roomId,String type) {
        return baseMapper.getListByRoomId(roomId,type);
    }

    @Override
    public List<ItripImage> getListByCommentId(String commentId) {
        return baseMapper.getListByCommentId(commentId);
    }
}
